package com.edu.exam.enums.quality.monitoring;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 目标类型枚举
 */
public enum TargetType implements BaseEnum {
    PAPER("PAPER", "试卷"),
    QUESTION("QUESTION", "题目"),
    ANSWER("ANSWER", "答案"),
    STUDENT("STUDENT", "学生"),
    TEACHER("TEACHER", "教师"),
    GRADER("GRADER", "评卷员"),
    EXAM("EXAM", "考试"),
    COURSE("COURSE", "课程"),
    CLASS("CLASS", "班级"),
    DEPARTMENT("DEPARTMENT", "部门"),
    ORGANIZATION("ORGANIZATION", "组织"),
    SYSTEM("SYSTEM", "系统"),
    MODULE("MODULE", "模块"),
    BATCH("BATCH", "批次"),
    SESSION("SESSION", "考试场次");

    private final String code;
    private final String description;

    TargetType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
